package com.xuecheng.swagger;

import com.spring4all.swagger.EnableSwagger2Doc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


@SpringBootApplication  //启动注解
@EnableSwagger2Doc   //开启Swagger功能
public class SwaggerTestApplication {
  public static void main(String[] args) {
      SpringApplication.run(SwaggerTestApplication.class,args);
  }
}
